﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI.Adapters;
using System.Web.UI;

namespace blackhouse.Web.ViewState {

	/// <summary>
	/// Dodaje obsługę zapisu ViewState po stronie serwera. Dodaj adapter do pliku browser aby uruchomić
	/// </summary>
	public class ViewStatePageAdapter : PageAdapter {

		public override PageStatePersister GetStatePersister() {

			return new ViewStateServicePersister(Page);
		}

	}
}